package com.learnyou.server.xingzuo.controller.common;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author heweifeng
 * @Description: 发送短信api
 * @date 2022/12/3 15:16
 */
@RequestMapping("/sms")
@Api(tags = "SmsSendResource")
public interface SmsSendResource {


    /**
     * 发送短信验证码
     */
    @ApiOperation("发送短信验证码")
    @PostMapping("/verifyCode/{phone}")
    Boolean sendVerifyCode(@PathVariable String phone);

    @ApiOperation("验证码校验")
    @PostMapping("/check/verifyCode/{phone}/{code}")
    Boolean checkVerifyCode(@PathVariable String phone, @PathVariable String code);


    /**
     * 机构注册成功，正在审核中通知
     */


    /**
     * 机构审核通过通知
     */
}
